package com.shanjupay.merchant.convert;

import com.shanjupay.merchant.api.dto.MerchantDTO;

public class ConvertTest {
    public static void main(String[] args) {
        MerchantConvert instance = MerchantConvert.INSTANCE;
        MerchantDTO merchantDTO = new MerchantDTO();
        merchantDTO.setMerchantType("123");
        merchantDTO.setMerchantName("zhangsan");
        merchantDTO.setId(110L);
        merchantDTO.setMobile("12354646");
        System.out.println(instance.dto2entity(merchantDTO));

        System.out.println(instance.entity2dto(instance.dto2entity(merchantDTO)));
    }
}
